﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using Tools;
using DAL;
namespace BLL
{
    public class IndexBLL
    {
        //图书类型集合
        public static List<BookType> BookTypeList()
        {
            return IndexDAL.BookTypeList();
        }
        //图书集合
        public static List<BookInfo> BookInfoList()
        {
            
            return IndexDAL.BookInfoList();
        }
        public static List<BookInfo> BookInfoListtop(int id=0)
        {
            return IndexDAL.BookInfoListtop(id);
        }
        /// <summary>
        /// 小说
        /// </summary>
        /// <returns></returns>
        public static List<BookInfo> BookInfoListt()
        {
            return IndexDAL.BookInfoListt();
        }
        /// <summary>
        /// 儿童
        /// </summary>
        /// <returns></returns>
        public static List<BookInfo> BookInfoLists()
        {
            return IndexDAL.BookInfoLists();
        }
        /// <summary>
        /// 青春励志
        /// </summary>
        /// <returns></returns>
        public static List<BookInfo> BookInfoListq()
        {
            return IndexDAL.BookInfoListq();
        }
        /// <summary>
        /// 家庭教育
        /// </summary>
        /// <returns></returns>
        public static List<BookInfo> BookInfoListj()
        {
            return IndexDAL.BookInfoListj();
        }
        /// <summary>
        /// 社会科学
        /// </summary>
        /// <returns></returns>
        public static List<BookInfo> BookInfoListk()
        {
            return IndexDAL.BookInfoListk();
        }
        /// <summary>
        /// 经济管理
        /// </summary>
        /// <returns></returns>
        public static List<BookInfo> BookInfoListg()
        {
            return IndexDAL.BookInfoListg();
        }
    }
}
